﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace bankproject
{
    public partial class GetBalance : Form
    {
        int cash;
        public GetBalance()
        {
            InitializeComponent();
            Model alma = new Model();
            cash=alma.getBalance();
            egyenleg.Text = Convert.ToString(cash);


       
           
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            
           
           

        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
